<template>
  <RollbackOutlined :style="{ fontSize: '28px', color: '#999' }" @click="toBack" />
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { useRouter } from 'vue-router'

export default defineComponent({
  setup() {
    const router = useRouter()
    const toBack = () => {
      router.back()
    }
    return { toBack }
  }
})
</script>

<style></style>
